package com.api.syh56.shengyunhui.service;

import com.api.syh56.shengyunhui.entity.Agreement;
import com.api.syh56.shengyunhui.entity.dto.AgreementDto;
import com.api.syh56.shengyunhui.entity.dto.AgreementKDTO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface AdminAgreementService extends IService<Agreement> {
    void insert(Agreement agreement);

    Object selectById(Integer id);

    void updateBy(Map<String,String> map);

    void delete(Integer id);

    List<Agreement> select();

    Agreement selectByKeyword(String keyword);

    void updateByKey(AgreementKDTO agreementKDTO);
}
